package com.usian.search.feign;

import com.usian.model.behavior.pojos.ApBehaviorEntry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "leadnews-behavior")
public interface BehaviorFeign {

    @GetMapping("/api/v1/entry/find/{userId}/{equipmentId}")
    public ApBehaviorEntry findByUserIdOrEquipmentId(@PathVariable Integer userId,
                                                     @PathVariable Integer equipmentId);
}
